﻿@page   "/tabledemo"
<BTable DataSource="myClasses" SelectedRowsChanged="A"></BTable>

@code {


    public class MyClass
    {
        public string Name { get; set; }
    }
    List<MyClass> myClasses = new List<MyClass>();

    Action<Object> A = (c) => {

        Console.WriteLine(123);
    };
    void AAA()
    {
        //A(123);
        Console.WriteLine(111111);
    }
    protected override Task OnInitializedAsync()
    {
        for (int i = 0; i < 20; i++)
        {
            myClasses.Add(new MyClass() { Name = "1312312" + i });
        }
        return base.OnInitializedAsync();
    }
}
